package org.platform.executor.diagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41008.QueryTreeDiagnoseDetailRequestParam;
import org.platform.mo.csmo.cmd41008.QueryTreeDiagnoseDetailResponseParam;
import org.platform.service.diagnose.DiagnoseRecordServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/7/31
 */
@Service
public class QueryTreeDiagnoseDetailExecutor implements IMicProviderServiceExecutor<QueryTreeDiagnoseDetailRequestParam, QueryTreeDiagnoseDetailResponseParam> {
    @Autowired
    DiagnoseRecordServiceImpl service;

    @Override
    public QueryTreeDiagnoseDetailResponseParam doExecute(QueryTreeDiagnoseDetailRequestParam resultRequestParam) {
        return service.queryTreeDiagnoseDetail(resultRequestParam);
    }
}
